/*
 * @Author: Your name
 * @Date:   2020-06-25 13:51:42
 * @Last Modified by:   Your name
 * @Last Modified time: 2020-06-27 09:42:31
 */
import {request, requestMock} from './request.js'
//获取轮播图数据
export function getHomeMultidata(){
    return request({
        url:"/home/multidata"
    });
}

//获取首页数据流行精选新款
export function getHomeMainData(type,pageindex){
    return requestMock({
        url:'/api/goods',
        params:{
            type,
            pageindex
        }
    });
}